package com.supermap.util.model;

/**
 * Copyright (C) 2017 北京超图软件股份有限公司 版权所有
 * <p>
 * 功能描述：接口的基类 作者：李会林
 * <p>
 * 修改人： 修改描述： 修改日期
 */
public class BaseBean<T> {
    private boolean IsSuccess;
    private String ResultID;
    private String ResultDescription;
    private T Data;

    public boolean isSuccess() {
        return IsSuccess;
    }

    public void setSuccess(boolean success) {
        IsSuccess = success;
    }

    public String getResultID() {
        return ResultID;
    }

    public void setResultID(String resultID) {
        ResultID = resultID;
    }

    public String getResultDescription() {
        return ResultDescription;
    }

    public void setResultDescription(String resultDescription) {
        ResultDescription = resultDescription;
    }

    public T getData() {
        return Data;
    }

    public void setData(T data) {
        Data = data;
    }

    @Override
    public String toString() {
        return "IsSuccess=" + IsSuccess + ",ResultID=" + ResultID + ",ResultDescription=" + ResultDescription + ",Data=" + Data;
    }
}
